<p><?= $this->Html->link("&laquo; nazad", "/currency_exchange", array( 'escape' => false ))?></p>
<?= $this->Form->create('CurrencyExchange', array('url' => '/currency_exchange/save')) ?>

    <?= $this->Form->hidden('id', array( 'value' => (int)@$data['CurrencyExchange']['id'])) ?>

    <p><?= $this->Form->label('date', 'Datum:') ?>
    <?= $this->Form->text('date', array( 'value' => @$data['CurrencyExchange']['date'], 'class'=>'datepicker')) ?>
    <?= $this->App->formError('date') ?></p>
    
    <p><?= $this->Form->label('rate', 'Kurs:') ?>
    <?= $this->Form->text('rate', array( 'value' => @$data['CurrencyExchange']['rate'], 'class'=>'price')) ?>
    <?= $this->App->formError('rate') ?></p>
    
    <?= $this->Form->button('Sačuvaj') ?>
<?= $this->Form->end() ?>
